export default{
	globalData:{
		token:'',
		userName:'',
		password:''
	},
	setToken(val){
		console.log(val);
		this.globalData = Object.assign({},this.globalData,val);
	},
	clearToken(){
		this.globalData.token = '';
	},
	setUserInfo(val){
		this.globalData = Object.assign({},this.globalData,val);
	}
}